//
//  BEEquipTypeModel.swift
//  BEGlobalOiler
//
//  Created by KKING on 2016/10/10.
//  Copyright © 2016年 Bullseye Energy pte ltd. All rights reserved.
//

import UIKit

class BEEquipTypeModel: NSObject {
    
    var id: String?
    
    var name: String?
    
    var typeDesc: String?
    
    
    
    init(dict: [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
    
    override func setValue(_ value: Any?, forKey key: String) {
        return super.setValue(value, forKey: key)
    }
}



class BEEquipBrandModel: NSObject{
    
    var nameEn: String?
    var enableStatus: Int = 0
    var firstLetter: String?
    var id: String?
    var pinyinFull: String?
    var pinyinFirst: String?
    var brandStatus: Int = 0
    var brandDesc: String?
    var orientate: Int = 0
    var name: String?
    var url: String?
    
    
    init(dict: [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
    
    override func setValue(_ value: Any?, forKey key: String) {
        return super.setValue(value, forKey: key)
    }
    //
    //    "id" : "3810968585392750592",
    //    "brandId" : "3810615609541132288",
    //    "name" : "test1"
}


class BEEqmdlModel: NSObject{
    
    var brandId: String?
    var name: String?
    var id: String?
    
    init(dict: [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
    
    override func setValue(_ value: Any?, forKey key: String) {
        return super.setValue(value, forKey: key)
    }
    
}



class BEEquipEquipModel: NSObject{

    var id: String?
    var companyId: String?
    var typeName: String?
    var brandDesc: String?
    var serialNumber: String?
    
    var modelName: String?
    var type: String?
    var code: String?
    var typeDesc: String?
    var brandId: String?

    var companyName: String?
    var brandName: String?
    var model: String?
    var name: String?
    var status: Int = 0
    
    init(dict: [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
    
    override func setValue(_ value: Any?, forKey key: String) {
        return super.setValue(value, forKey: key)
    }
    
}
